<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>入门</title>
</head>
<body>

    <button id="btn">按钮</button>


    <script src="../lib/jquery-1.10.1.js"></script>
    <script>
     $(function () {  
          $("#btn").click(function () {  
              //this为绑定事件的DOM
             console.log(this.innerHTML);
             console.log($("#btn"));
          })

         
     })
    </script>
</body>
</html>